Fixes: debbugs:12090
authorAndreas Schwab <schwab@linux-m68k.org>
Mon, 30 Jul 2012 07:45:58 +0000 (09:45 +0200)
committerAndreas Schwab <schwab@linux-m68k.org>
Mon, 30 Jul 2012 07:45:58 +0000 (09:45 +0200)
* keymap.c (Fkey_description): Don't remove 0x80 bit from
non-single-byte char when adding meta modifier.

src/ChangeLog
src/keymap.c

index 31c3afc1ceefab1ecd129d345bb2389715a0f51b..bf97ebc7fc6359cc2653411749e98e75bee9fb35 100644 (file)
@@ -1,3 +1,8 @@
+2012-07-30  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * keymap.c (Fkey_description): Don't remove 0x80 bit from
+       non-single-byte char when adding meta modifier.  (Bug#12090)
+
 2012-07-30  Dmitry Antipov  <dmantipov@yandex.ru>
 
        Convert safe_call to use variable number of arguments.
index 6cc7670054260c68cfa544fe8c26d3b330786942..3c5d45b0680d93d1d34fa8b0ee362a7b9ead4402 100644 (file)
@@ -2141,7 +2141,7 @@ The `kbd' macro is an approximate inverse of this.  */)
                continue;
            }
          else
-           XSETINT (key, (XINT (key) | meta_modifier) & ~0x80);
+           XSETINT (key, XINT (key) | meta_modifier);
          add_meta = 0;
        }
       else if (EQ (key, meta_prefix_char))